package model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;

import org.hibernate.annotations.IndexColumn;



@Entity
@Table(name="tbl_caixa")
public class Caixa implements Serializable{

	/**
	 * Codigo do cliente
	 */
	@Id @GeneratedValue 
	private int codCaixa;
	
	/**
	 * Nome do cliente 
	 */
	@Column(name="data") 
	private String data;
	
	/**
	 * RG do cliente 
	 */
	@Column(name="saldoInicial")
	private double saldoInicial;
	
	/**
	 * CPF do cliente 
	 */
	@Column(name="saldoFinal")
	private double saldoFinal;

	public int getCodCaixa() {
		return codCaixa;
	}

	public void setCodCaixa(int codCaixa) {
		this.codCaixa = codCaixa;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public double getSaldoInicial() {
		return saldoInicial;
	}

	public void setSaldoInicial(double saldoInicial) {
		this.saldoInicial = saldoInicial;
	}

	public double getSaldoFinal() {
		return saldoFinal;
	}

	public void setSaldoFinal(double saldoFinal) {
		this.saldoFinal = saldoFinal;
	}
}
